using UnityEngine;
using System.Collections;

public class LookAtCamera : MonoBehaviour {
	
	Transform trans;
	Transform cameraTransform;
	Vector3 target;

	// Use this for initialization
	void Start () {
		trans = transform;
		cameraTransform = Camera.main.transform;
		target = cameraTransform.position;
		target.z = -target.z;
	}
	
	// Update is called once per frame
	void Update () {
		trans.LookAt(target);
	}
}
